home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness: Critical Thinking Skills / Workplace Effectiveness: Critical Thinking Skills.iso / pc / Files / Patterns.dxr / 00007_Sound Handlers.ls < prev    next >
Encoding:
Text File  |  1998-09-16  |  401 b   |  27 lines

  1. on keepLittleSounds
  2.   set vList to ["mouseDown.aif"]
  3.   repeat with vSound in vList
  4.     set the purgePriority of member vSound to 1
  5.   end repeat
  6. end
  7.  
  8. on stopSounds
  9.   sound stop 1
  10.   sound stop 2
  11.   puppetSound(0)
  12.   updateStage()
  13. end
  14.  
  15. on stopSound2
  16.   if soundBusy(2) then
  17.     sound stop 2
  18.   end if
  19. end
  20.  
  21. on DelaySome howLong
  22.   startTimer()
  23.   repeat while the timer < howLong
  24.     nothing()
  25.   end repeat
  26. end
  27.